package com.huawei.crm.mapper;

import com.huawei.crm.domain.Systemdictionaryitem;
import com.huawei.crm.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SystemdictionaryitemMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Systemdictionaryitem record);

    Systemdictionaryitem selectPrimaryKey(Long id);

    List<Systemdictionaryitem> selectAll();

    int updateByPrimaryKey(Systemdictionaryitem record);

    List<Systemdictionaryitem> selectForList(QueryObject qo);

    List<Systemdictionaryitem> selectItemsByDictionarySn(@Param("sn") String sn);
}